import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        int[] arr = {1,2,3};
        transform(arr);
        System.out.println(Arrays.toString (arr));
    }

    public static void transform(int[] arr){
        int i = 0;
        for(i= 0;i< arr.length;i++){
            arr[i] = 2 * arr[i];
        }

    }


}
